//头部导航栏
<template>
  <div class="topNavBox bodycontent">
    <Allfenlei />
    <router-link to="/index/home/firstpage">首页</router-link>
    <router-link to="/index/home/tongcheng">同城</router-link>
    <router-link to="/index/home/libaiwu">礼拜五</router-link>
    <router-link to="/index/home/pointshop">积分商城</router-link>
    <router-link to="/index/home/daohang">导航+</router-link>
  </div>
</template>
<script>
import Allfenlei from "@/components/Allfenlei.vue";
export default {
  components:{
    Allfenlei,
  }
}
</script>
<style scoped>
@import url(http://at.alicdn.com/t/font_1435664_ks74ppjrets.css);
  .topNavBox{
    display: flex;
    justify-content: space-around;
  }
  .topNavBox>a{
    height: 50px;
    line-height: 50px;
    color: #000;
    flex:1;
    display: block;
    box-sizing: border-box;
    text-align: center;
  }
  .allFenlei{
    width: 170px;
    line-height: 50px;
    color: #000;
    box-sizing: border-box;
    text-align: center;
  }
  .topNavI{
    margin-left: 10px;
  }
  .topNavBox>a.router-link-active{
    background-color: #f08200;
    color: #fff;
  }
</style>